﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CardLogistics.Web.Components;
using System.Text;

namespace CardLogistics.Web.MainPage.PutOutCard.PutOutCard
{
    public partial class PutOutSendCardDetailedRpt : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string sendNo = Request.QueryString["sendNo"];//发放单号
            StringBuilder sbStr = new StringBuilder();
            sbStr.Append(" SELECT * FROM v_putoutsendcard_detail WHERE 1=1 and IsSubmit=5 ");

            if (sendNo.Trim().Length > 0)
                sbStr.Append(" and SendNo = '" + sendNo.Trim().ToUpper() + "' ");//发放单号
            sbStr.Append(" Order by SendNo,CardNo,StartCardNo,EndCardNo");

            OracleXMLReportData.GenNodeXmlData(this, sbStr.ToString(), true);
        }
    }
}